package com.dv.shell.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * @Author DavidLoman
 * @create 2021/3/28 0:18
 */
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductInfo {

    @Id
    private String productId;


    private String productName;

    private BigDecimal productPrice;

    //库存
    private Integer productStock;

    //描述
    private String productDescription;

    //小图
    private String productIcon;

    //状态 0正常 1下架
    private Integer productStatus;

    //类目编号
    private Integer categoryType;

}
